<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/test','Admin\TestController@abc');
//Route::get('/login','Admin\LoginController@index');
//Route::get('/', function () {
//    return view('welcome');
//    //return bcrypt('admin888');
//});

//Route::group(['prefix'=>'admin','namespace'=>'Admin'], function(){
//    //登录显示 name给路由取别名
//    Route::get('login','LoginController@index')->name('admin.login');
//    //登录处理
//    Route::post('login','LoginController@login')->name('admin.login');
//});


include base_path('routes/admin/admin.php');
